//
//  MyhuanfuCell.m
//  Tour
//
//  Created by 张张烨 on 16/3/19.
//  Copyright © 2016年 张中烨. All rights reserved.
//

#import "MyhuanfuCell.h"

@interface MyhuanfuCell ()

@end


@implementation MyhuanfuCell


-(instancetype)initWithFrame:(CGRect)frame
{
    if ([super initWithFrame:frame]) {
        self.tupian = [[UIImageView alloc]init];
        [self.contentView addSubview:_tupian];
    }
    return self;
}

-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _tupian.frame = layoutAttributes.bounds;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
